Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Breaking: Update JSX tagName conversion for TS 2 (refs #105) #108

Merged
merged 1 commit into from
Oct 29, 2016

Conversation

JamesHenry
Copy link
Member

@JamesHenry JamesHenry commented Oct 24, 2016

In microsoft/TypeScript#7645, TypeScript changed the way it handles JSX tag names.

This PR updates our conversion process accordingly, and adds a couple of helper functions for checking JSX nodes.

This PR is into the ts-2 branch, which is where all of the breaking changes will go, along with the updated TS peerDependency.

I will submit a final PR from ts-2 to master, once all the necessary updates are merged.

NOTE: The tests will fail on ts-2 work until #107 is merged

@eslintbot
Copy link

LGTM

@nzakas
Copy link
Member

nzakas commented Oct 29, 2016

Want to rebase so we can see if the tests pass now that #107 is merged?

@JamesHenry JamesHenry force-pushed the jsx-tag-names-as-expressions branch from bb328fa to 42f234c Compare October 29, 2016 21:44
@eslintbot
Copy link

LGTM

@JamesHenry
Copy link
Member Author

Done! 🎉

Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nzakas nzakas merged commit a355bc7 into ts-2 Oct 29, 2016
@JamesHenry JamesHenry deleted the jsx-tag-names-as-expressions branch October 29, 2016 22:50
nzakas pushed a commit that referenced this pull request Nov 8, 2016
* Breaking: Updated TypeScript peerDependency to ^2.0.3 (refs #105)

* Chore: Added test for shorthand-ambient-module-declaration (refs #105) (#109)

* Chore: Added test for non-null assertion operator (refs #105) (#110)

* Breaking: Update JSX tagName conversion for TS 2 (refs #105) (#108)

* Chore: Added test for typed this parameter (fixes #105)

* Fix: Add parameter type annotations to the AST (refs #105) (#111)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants